//
//  TVViewController.h
//  IPTV
//
//  Created by Echo on 13-11-19.
//  Copyright (c) 2013年 游强. All rights reserved.
//

#import <UIKit/UIKit.h>
#import "BgViewController.h"
#import "NewDevice1ViewController.h"
#import "DataManager.h"
#import "StudyViewController.h"
#import "CustomViewController.h"
#import "AirAddBtnViewController.h"
#import<QuartzCore/QuartzCore.h>

#define sduty_tag 5478
#define modify_device_tag 19998

@interface TVViewController : BgViewController<UITableViewDataSource,UITableViewDelegate,UIActionSheetDelegate, UIAlertViewDelegate, NewDeviceDelegate,UIPickerViewDelegate,UIPickerViewDataSource, sdudyDelayDelegate, CustomViewDelegate, AirAddBtnViewControllerDelegate>{
    BOOL isLoadData;
    UIScrollView *hScrollview;
    UIButton *curBtn;
    int left;
    int nCount;
    
    BOOL isStudyAir;//是否
    DeviceInfo *m_deviceInfo;
    UIImageView *xiaomi, *appletv;
    
    GoodLabel *titleLabel;
    GoodBtn *addbtn;//空调添加按钮
    UIAlertView *m_sheet;
    UIButton *selBtn;
    UIButton *btnbg;
    UIPickerView *picker;
    UIImageView *bgview;
    int selectIndex;
    int selDeveceIndex;
    int tableview_select_index;
    
    UIButton *btnView;
    BOOL isMulStudy;//是否组合键学习
    
    UIView *bottomView;
    BOOL istoLeft;
    BOOL isAddBtnPressed;//冰箱点击add按钮
    UITableView *tableview;
    UITapGestureRecognizer *tapRecognizer;
    
    NSDataInfo *pDataInfo;
    NSString *m_app_cmd;//用于冰箱add按钮
}
@property(nonatomic, strong)DeviceInfo *m_deviceInfo;
@property(nonatomic, strong)NSString *m_app_cmd;
-(void)setSoundBtnState:(UIButton*)btn;
@end
